package com.zhang.adapter;


//组合（对象适配器：常用）

//真正的适配器， 需要USB 链接网线
public class Adapter2 implements NetToUsb {

    private Adaptee adaptee;

    public Adapter2(Adaptee adaptee){
        this.adaptee = adaptee;
    }
    public void handleRequest(){
        adaptee.request();
    }

}
